project "yaml-cpp"
    kind "StaticLib"
    language "C++"
    staticruntime "on"
    cppdialect "C++17"
    
	targetdir("exec/" .. outputdir .. "/%{prj.name}" ) -- 输出的路径
	objdir("mid/" .. outputdir .. "/%{prj.name}" ) -- 中间文件输出的路径

	files
	{
        "src/**.h",
        "src/**.cpp",

        "include/**.h",
    }

    includedirs
    {
        "include"
    }
    
	filter "system:windows"
        systemversion "latest"
        defines
		{
            "YAML_CPP_STATIC_DEFINE"
		}

    filter "configurations:Debug"
		runtime "Debug"
		symbols "on"
	filter "configurations:Release"
		runtime "Release"
		symbols "on"